package ee.ttu.rakarh.model.data.dao;

import java.util.Collection;

import ee.ttu.rakarh.model.data.entities.Item;
import ee.ttu.rakarh.model.data.entities.ItemType;

public interface ItemDAO {

	public Item getItemById(int itemId);
	
	public void insertItem(Item item);
	public void updateItem(Item item);
	public Collection<Item> getItemsByTypeId(ItemType item);
	public Collection<Item> getItemsBySearchName(String string);
	
}